package licode.unisop.types.dp;

import licode.unisop.types.BaseIdentifier;
import org.springframework.util.Assert;

public class PermissionId implements BaseIdentifier<String> {
    private final String id;

    public PermissionId(String id) {
        Assert.notNull(id, "权限为空：" + id);
        this.id = id;
    }

    @Override
    public String getId() {
        return id;
    }
}
